export default {
    functional: true,
    props: {
        row: Object,
        render: Function,
        column: {
            type: Object,
            default: null
        }
    },
    render: (h, context) => {
        const params = {
            row: context.props.row,
        };
        if (context.props.column) params.column = context.props.column;
        return context.props.column.render(h, params)
    },
};